package org.apache.james.hibernate;

import java.util.List;

import org.apache.james.hibernate.entity.Mail;

public interface MailStore {

	public byte[] getMailBody(Mail mail);
	
	public void persistMailBody(Mail mail, byte[] byteBuffer);
	
	public void removeMailBody(List<Integer> mailIds);

}
